<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet name="./default.css"/>
        <h:outputStylesheet name="./cssLayout.css"/>
        <title>Facelets Template</title>
    </h:head>

    <h:body>
        
        <div id="top" class="top">
            <ui:include src="/top.xhtml"></ui:include>
        </div>
        
        <div>
            <div id="left">
                <ui:include src="/left.xhtml"></ui:include>
            </div>
            
            <div id="content" class="left_content">

                <ui:fragment rendered="#{request.userPrincipal == null}">
                        <div id="loginform">
                        <ui:include src="/login.xhtml" />
                        </div>
                </ui:fragment>
        
                <ui:fragment rendered="#{request.userPrincipal != null}">
                        <div id="schedule">
                        <ui:include src="/users/schedule.xhtml" />
                        </div>
                </ui:fragment>

            </div>
            
        </div>
    </h:body>

</html>
